package com.springboot.mybatis.service.single;

/**
 * @author sunyt31481
 * @date 2020/8/27 14:29
 * @description 饿汉式
 */
public class Hunger {
    private static Hunger instance = new Hunger();
    private Hunger (){}
    public static Hunger getInstance() {
        return instance;
    }
}
